﻿{% if controller.is_login %}
<div class="Footer2">
    <ul>
        <li><a href="/weixin/page/index" class="cur">
            <img src="/static/weixin/img/foot_01.png" />
            <p>首页</p>
        </a></li>
        <li><a href="/weixin/page/news">
            <img src="/static/weixin/img/foot_02.png" />
            <p>新闻资讯</p>
        </a></li>
        <li><a href="/weixin/page/contactus">
            <img src="/static/weixin/img/foot_05.png" />
            <p>联系我们</p>
        </a></li>
        {% if controller.user.roleid == 9 %} <!--客户-->
        <li><a href="/weixin/page/account">
            <img src="/static/weixin/img/foot_06.png" />
            <p>账目信息</p>
        </a></li>
        {% elif controller.user.roleid == 10 %} <!--供应商-->
        <li><a href="/weixin/page/account2">
            <img src="/static/weixin/img/foot_06.png" />
            <p>账目信息</p>
        </a></li>
        {%endif%}
    </ul>
</div>
{%else%}
<div class="Footer">
    <ul>
        <li><a href="/weixin/page/index" class="cur">
            <img src="/static/weixin/img/foot_01.png" />
            <p>首页</p>
        </a></li>
        <li><a href="/weixin/page/news">
            <img src="/static/weixin/img/foot_02.png" />
            <p>新闻资讯</p>
        </a></li>
        <li><a href="/weixin/page/contactus">
            <img src="/static/weixin/img/foot_05.png" />
            <p>联系我们</p>
        </a></li>
    </ul>
</div>
{%endif%}